package com.bcbim.common.sys;

import org.apache.commons.lang3.StringUtils;

/**
 * @Description: 校验参数Exception
 * @Author haoshuai
 * @Date 2020/9/18
 * @Version V1.0
 **/
public class ParamException extends Exception {

    public static final String PARAMETER_ERROR = "参数校验不正确";
    public static final String DATA_ERROR = "无相应数据";

    public ParamException(String exceptionMsg) {
        super(StringUtils.isEmpty(exceptionMsg) ? PARAMETER_ERROR : exceptionMsg);
    }

}
